package org.qqcui.designpattern.patterns.facade;

/**
 * 爆米花
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/29 16:15
 **/
public class PopCorn {

    private static final PopCorn instance = new PopCorn();

    public static PopCorn getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("PopCorn is on");
    }

    public void off() {
        System.out.println("PopCorn is off");
    }

    public void pop() {
        System.out.println("PopCorn is popping");
    }
}
